<?php
/**
 * Created by PhpStorm.
 * User: houreshared
 * Date: 2017/9/5
 * Time: 下午6:37
 */

namespace App\Repository;


use App\Models\UserModel;

class UserRepository extends BaseRepository
{
    public function __construct(UserModel $userModel)
    {
        $this->modal('user', $userModel);
    }

    public function store($data)
    {
        return $this->modal('user')->create($data);
    }
}